<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加</title>
</head>
<body>
{$msg}
<form action="/index/news/addCon" method="post">
<input type="text" name="title" placeholder="标题" required oninvalid="setCustomValidity('标题不允许为空')" oninput="setCustomValidity('')"><br>
<textarea rows="10" cols="70" name="content" placeholder="内容" required oninvalid="setCustomValidity('内容不能为空')" oninput="setCustomValidity('')"></textarea><br>
<br>
<button type="submit" value="Submit">提交</button>
<button type="reset" value="Reset">重置</button>

</form>
</body>
</html>